package com.j.rwp.util;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public final class SpringUtil {
	private static ApplicationContext context = new ClassPathXmlApplicationContext(
			"spring.xml");

	public static Object getBean(final String beanName) {
		return context.getBean(beanName);
	}
}
